<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<base href="/" />
<link rel="stylesheet" type="text/css" href="/css/master.css" />
</head>
<body>
<div id="header">
<div id="logo">
<h2>Juan Camba</h2>
</div>
<div id="menu">
<a href="<?php echo $this->url( array('controller'=>'database', 'action'=>'index'));?>">Libros</a>
<a href="<?php echo $this->url(array('controller'=>'empleado','action'=>'index'));?>">Empleados</a>
    <?php
    $auth = Zend_Auth::getInstance();
    if ( $auth->hasIdentity()) :
    ?>
    Usuario:<?php echo $auth->getIdentity() ?>
    <a href="/usuario/logout">Logout</a>
    <?php else: ?>
    <a href="/usuario/login/">Login</a>
    <?php endif;?>
</div>
</div>
<div id="content">
<?php echo $this->layout()->content ?>
</div>
<div id="footer">
<p>
Created with <a href="http://framework.zend.com/">
Zend Framework</a>. Licensed under
<a href="http://www.creativecommons.org/">Creative Commons</a>.
</p>
</div>
</body>
</html>